package com.dk.service;

import com.dk.Vo.PublisherVo;
import com.dk.pojo.Publisher;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PublisherServiceI {
    PageInfo<PublisherVo> getInfoServer(Integer pageNum, Integer pageSize);

    void addById(Publisher publisher);

    Publisher getUpdateInfo(Integer pubId);

    void updateById(Publisher publisher);

    void deleteById(Integer pubId);

    List<Publisher> getInfo();

}
